﻿namespace Athena.Options
{
    public class AthenaOptions
    {
        public HealthCheckOption HealthCheckOption { get; set; }

        public TransportOption TransportOption { get; set; }

        public RuntimeServiceOption RuntimeServiceOption { get; set; }

        public RouteAddressOption RouteAddressOption { get; set; }

        public AthenaOptions()
        {
            HealthCheckOption = new HealthCheckOption()
            {
                IntervalSeconds = 10
            };
            TransportOption = new TransportOption()
            {
                TimeoutMillseconds = 10000,
            };
            RuntimeServiceOption = new RuntimeServiceOption()
            {
                IP = "127.0.0.1",
                Port = 12130,
            };
            RouteAddressOption = new RouteAddressOption();
        }
    }
}
